//
//  SellerHomeCtr-cells.swift
//  Aiwei
//
//  Created by zhu xietong on 2017/10/16.
//  Copyright © 2017年 zhu xietong. All rights reserved.
//

import Foundation
import Eelay
import soapp

extension SellerHomeCtr
{
    class ImgCell: JoTableCell {
        let imgV = UIImageView()
        override func addLayoutRules() {
            contentView.eelay = [
                [imgV,[ee.T.L.B.R],"\(Swidth*0.5)"]
            ]
            imgV.ui.holder(type: .image(.goods_holder))
        }
        override func mo_model_reload() {
            imgV.img_url = mo.model["img",""]
        }
    }
    

}
